package com.jiaai.cloud.wx.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-28
 */
@TableName("t_group")
public class TGroup extends Model<TGroup> {

    private static final long serialVersionUID = 1L;

    /**
     * 分组id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 分组原因
     */
	private String groupreason;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGroupreason() {
		return groupreason;
	}

	public void setGroupreason(String groupreason) {
		this.groupreason = groupreason;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
